const String jsonKeySomeRootEntityBrightness = "brightness";
const String jsonKeySomeRootEntityColor = "color";
class SomeRootEntity {
/*
 {
  "brightness": "a",
  "color": "red"
} 
*/

  String brightness;
  String color;

  SomeRootEntity({
    this.brightness,
    this.color,
  });
  SomeRootEntity.fromJson(Map<String, dynamic> json) {
    brightness = json[jsonKeySomeRootEntityBrightness];
    color = json[jsonKeySomeRootEntityColor];
  }
  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data[jsonKeySomeRootEntityBrightness] = brightness;
    data[jsonKeySomeRootEntityColor] = color;
    return data;
  }
}